#include <fregion.h>
Public Member Functions | |
Region () | |
Region (const Rect &r) | |
Region (const Region &r) | |
Region & | operator= (const Region &src) |
Region & | copyFrom (const Region &r) |
bool | isEmpty () const |
int32 | countRects () const |
void | clear () |
void | fromRect (const Rect &r) |
void | fromRects (const TContainer< Rect > &rects) |
bool | getRects (TContainer< Rect > &rects, bool left2right=true, bool topdown=true, int32 maxArea=0) const |
const Rect & | getBoundingRect () const |
bool | equals (const Region &r) const |
bool | operator== (const Region &r) const |
bool | operator!= (const Region &r) const |
bool | pointInside (const Point &p) const |
bool | rectInside (const Rect &r) const |
Region & | offset (const Point &off) |
Region & | assignIntersection (const Region &r) |
Region & | assignUnion (const Region &r) |
Region & | assignSubtraction (const Region &r) |
Region | getIntersection (const Region &r) const |
Region | getUnion (const Region &r) const |
Region | getSubtraction (const Region &r) const |
Region Class.
Region | ( | ) |
bool isEmpty | ( | ) | const [inline] |
int32 countRects | ( | ) | const [inline] |
void clear | ( | ) |
void fromRect | ( | const Rect & | r | ) |
void fromRects | ( | const TContainer< Rect > & | rects | ) |
bool getRects | ( | TContainer< Rect > & | rects, | |
bool | left2right = true , |
|||
bool | topdown = true , |
|||
int32 | maxArea = 0 | |||
) | const |
const Rect& getBoundingRect | ( | ) | const [inline] |
bool equals | ( | const Region & | r | ) | const |
bool operator== | ( | const Region & | r | ) | const [inline] |
bool operator!= | ( | const Region & | r | ) | const [inline] |
bool pointInside | ( | const Point & | p | ) | const |
bool rectInside | ( | const Rect & | r | ) | const |